#!/bin/bash
tar zxvf apache-activemq-5.15.10-bin.tar.gz -C /usr/local/
ln -s /usr/local/apache-activemq-5.15.10/ /usr/local/activemq

{
cat <<'jdk'
#activemq
export ACTIVEMQ_HOME=/usr/local/activemq
export ACTIVEMQ_BIN=$ACTIVEMQ_HOME/bin
export PATH=${PATH}:${ACTIVEMQ_BIN}
jdk
} >> /etc/profile
. /etc/profile

